import java.util.ArrayList;
import java.util.LinkedList;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 石方旭
 * Date: 2022-04-27
 * Time: 23:03
 */
public class TestSingleLinkedList {


    public static void main(String[] args) {
        MySingleLinkedList myLinkedList = new MySingleLinkedList();
       // myLinkedList.createNode();
       // myLinkedList.display();
        myLinkedList.addIndex(0,5);
        myLinkedList.addIndex(1,8);
        myLinkedList.addIndex(2,41);
        myLinkedList.addIndex(3,85);

        myLinkedList.display();
       // LinkedList<Integer> linkedList = new LinkedList<>();


    }
}
